package chai.ning.args;

public class HumanTest {

	public static void main(String[] args) {
		
		Human h = new Human();
		System.out.println( System.identityHashCode( h ) );
		
		// h.name = "牛大夫" ; // The field Human.name is not visible
		// h.gender = '男' ;  // The field Human.gender is not visible
		
		String name = "牛大夫" ;
		char gender =  '男' ;
		h.set( name , gender );
		
		System.out.println( "- - - - - - - - - - - -" );
		
		Human c = new Human();
		System.out.println( System.identityHashCode( c ) );
		c.set( "金某" , '男' );
		
		c.introduce();
		
		h.change( c );
		
		c.introduce();

	}

}
